* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body {
    height: 100%;
}
/* 头部 */
.shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #EFEFEF;
}
/* 下拉菜单 */
.s-1 {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-left: 20px;
}
.title {
    display: flex;
}
.title .trigger {
    position: relative;
}

.title .list {
    position: absolute;
    z-index: 100;
    /* 将元素的顶部位置设置为其父元素高度的 100% 减去 2 像素 */
    top: calc(100% - 0px);
    display: none;
    /* margin: 10px 0; */
    padding: 10px 0;
    background-color: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    /* transform: translateX(-50%); */
}
.title .list li {
    white-space: nowrap;
    padding: 0 30px;
    font-size: 16px;
}
.title .list li a {
    line-height: 50px;
    font-size: 16px;
}
.l-1 a{
    color: #00ff2a;
}
.title .list li a:hover {
    color: #888888;
}
.title .list .l-1 a:hover {
    color: #00ff2a;
}

.trigger:hover .list {
    display: block;
}
/* 中间 */
.s-2 ul {
    display: flex;
    align-items: center;
    gap: 20px;
}
.s-2 ul li {
    font-size: 20px;
}
.s-2 ul li a {
    display: block;
    border-bottom: 4px solid transparent;
    line-height: 70px;
}
.s-2 ul .a {
    border-bottom: 4px solid #000000;
}
.s-2 ul li a:hover {
    border-bottom: 4px solid #000000;
    transition: all 0.3s;
}

/* 右 */
.s-3 {
    margin-right: 40px;
}
.s-3 ul {
    display: flex;
    align-items: center;
    gap: 20px;
}
.s-3 ul .li {
    font-size: 20px;
}
.s-3 ul .li a {
    display: block;
    border-bottom: 4px solid transparent;
    line-height: 70px;
    transition: all 0.3s;
}
.s-3 ul .li a:hover {
    border-bottom: 4px solid #000000;
}
/* 导航栏 */
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
}
.nav {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 80px;
    background-color: #f7f7f7;
}
.nav ul {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.nav ul li {
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 50px;
    white-space: nowrap;
    border-radius: 8px;
    line-height: 50px;
    background-color: #FFFFFF;
    transition: all 0.3s;
}
.nav ul .a {
    background-color: #00ff2a;
}
.nav ul .a a {
    color: #fff;
}
.nav ul li a {
    display: block; 
    width: 100%;
    height: 100%;
    
} 
.nav ul li:hover {
    background-color: #F0F0F0;
}
.nav ul .a:hover {
    background-color: #00ff2a;
}
.nav ul .a:hover a {
  color: #FFF; 
}
/* 下拉菜单 */
.nav ul .trigger {
    position: relative;
}
.nav ul .list li i {
    display: inline-block;
}
.nav ul .list {
    position: absolute;
    top: calc(100% - 0px);
    left: 0;
    z-index: 100;
    display: none;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    border-radius: 8px;
    background-color: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.nav ul .list li {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 0 52px 0 8px;
    white-space: nowrap;
    font-size: 16px;
    border-radius: 0px;
}
.nav ul .list li a {
    /* margin: 0 52px 0 8px; */
    line-height: 50px;
    font-size: 16px;
}
.trigger:hover .list {
    display: block;
}
.nav ul .list li:hover {
    background-color: #EFF8F0;
}
.nav ul .list li:hover a {
    color: #77C57E;
}
.nav ul > li.trigger:has(.list:hover) {
    background-color: #FFFFFF;
}
/* 主体 */
.main {
    display: flex;
    width: 100%;
    height: calc(100vh - 150px);
}
/* 左侧 */
.main-1 {
    display: flex;
    justify-content: center;
    flex: 2;
    height: 100%;
    overflow-y: auto;
}
.main-1-1 {
    width: 70%;
    padding-top: 50px;
}
.main-1-1 ul li span {
    display: inline-block;
    width: 16px; 
    height: 16px;
    margin-right: 8px; 
}
.main-1-1 ul li {
    height: 50px;
    font-size: 20px;
    font-weight: 600;
    line-height: 50px;
}
.main-1-1 ul li a:hover {
    color: #747474;
}
/* 右侧 */
.main-2 {
    flex: 7;
    height: 100%;
    overflow-y: auto;
}
.main-2-box {
    
    width: 60%;
    margin: 40px 0 0 100px;
}
.main-2-box .box-title {
    display: flex;
}
.main-2-box .box-1 {
    color: gray;
}

.main-2-box .box-title2 {
    font-size: 30px;
    font-weight: 600;
    margin: 20px 0;
}
.main-2-box .box-p p {
    margin: 20px 0;
}
.main-2-box .box-ul {
    padding-left: 30px;
}
.main-2-box .box-ul ul li{
    list-style: disc;
}
.main-2-box .box-ul ul li a {
    color: #416dff;
}
.tutorial {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 168px;
    width: 720px;
    margin: 20px 0;
    border-radius: 7px;
    background-color: #F9F9FA;
}
.tutorial-box {
    width: 90%;
    height: 70%;
}
.tutorial-title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}
.tutorial-content {
    display: flex;
    margin-bottom: 20px;
}
.tutorial-content p {
    width: 50%;
    max-height: 48px;
    display: -webkit-box;
    color: rgb(122, 120, 120);
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical; 
}
.tutorial-box img {
    position: absolute;
    top: 20px;
    right: 20px;
    /* margin-left: 50px; */
    width: 40%;
}
/* 底部 */
.foot {
    display: flex;
    margin: 100px auto 0 100px;
    color: #5e5e5e;
}
.foot a {
    margin-right: 20px;
}
.foot-1 {
    margin-left: 100px;
}
